﻿using System;
using YunSpace.Core;

namespace YunSpace.Application.Messaging.Sender
{
    public class SiteSender : MessageSender
    {

        public override void Send()
        {
            Console.WriteLine("发送站内信");
        }

        protected override BeforeSendValidateState Validate()
        {
            return ReceiverId.IsEmpty() ? BeforeSendValidateState.EmptyReceiveId : BeforeSendValidateState.Ok;
        }
    }
}
